package com.safe.app.utils.exceptions.base;


import com.safe.app.utils.exceptions.BaseException;
import com.safe.app.utils.exceptions.enums.ExceptionCause;

/**
 * 用户未登录 抛出 {@link ExceptionCause#noAuth}
 */
public class NoAuthException extends BaseException {
    private static final long serialVersionUID = 8199514192443835496L;

    public NoAuthException(String err) {
        super(err);
    }

    @Override
    public String causedBy() {
        return ExceptionCause.noAuth.name();
    }

}